package com.xunlai.infra.permission.business.dao.entity;

import com.xunlai.infra.permission.storage.entity.BaseEntity;
import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liang
 * @date 8/7/23 9:34 PM
 */
@Table("travel_poster")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Poster extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 2616346259809166163L;

    @Id
    private Long id;

    private String posterName;

    private String posterContent;

    private String posterContentUri;

    private Long posterType;

    private String typeName;

    private String posterImg;

    private Long posterTemplate;

    private String posterNo;
}
